Contribution org.nuxeo.platform.mobile.operation.chain.contrib--chains
In component org.nuxeo.platform.mobile.operation.chain.contrib
org.nuxeo.platform.mobile.operation.chain.contrib
inside nuxeo-web-mobile-cap-6.0.jar
This contribution is part of XML component Extension Point
Extension point chains of component OperationServiceComponent.Contributed Items
XML Source
<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">
<chain id="sendEmailToMe">
<operation id="Context.FetchDocument"/>
<operation id="Notification.SendMail">
<param name="from" type="string">noreply@nuxeo.com</param>
<param name="message" type="string">
<html>
<head>
</head>
<body>
You asked to send an email to your own email account.
You will find files attached to this email.
<br/>
Original document is <a href="${docUrl}">${Document['dc:title']}</a>.
<br/>
Sent from Nuxeo.
</body>
</html>
</param>
<param name="subject" type="string">[Nuxeo] MailMe Service - new Binary sent</param>
<param name="to" type="stringlist">expr:Fn.getEmail(Context.principal.name)</param>
<param name="HTML" type="boolean">true</param>
<param name="files" type="stringlist">file:content</param>
<param name="viewId" type="string">view_documents</param>
</operation>
</chain>
</extension>